package com.swn.dear.test;

import com.swn.dear.Person;

public class test01 {
    public static void main(String[] args) {
        System.out.println("非静态方法的调用：");
      Person person=new Person();
      person.setName("Dylan");
      person.sayHi();
        System.out.println("静态方法的调用：---------------------");
        Person.name="萨沙";
        Person.sayHello();
    }
}
